//
//  TextSwitchCell.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/5/5.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TextSwitchCellDelegate <NSObject>

- (void)SwitchCellDidChangeSettingWithIndexPath:(NSIndexPath *)indexPath settingValue:(BOOL)settingValue;

@end

@interface TextSwitchCell : UITableViewCell
@property(nonatomic, strong)IBOutlet UILabel *titleLabel;
@property(nonatomic, strong)IBOutlet UIView *seperatorLine;
@property(nonatomic, strong)IBOutlet UISwitch *switchController;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, weak) id<TextSwitchCellDelegate> delegate;
@end
